﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Youz.Common.Helper;
using Youz.Common.Entity;
using Youz.Common.BLL;
using System.Data.SqlClient;

namespace Youz.CreditRepay.Manage
{
    /// <summary>
    /// 页面层(表示层)基类,所有页面继承该页面
    /// </summary>
    public class BasePage : System.Web.UI.Page
    {
        protected static string R(LanguageModule module, string key)
        {
            return Lang_LanguageBLL.LanguageByManage(module, key);
        }

        protected static string R(LanguageModule module, string key, string defaultValue)
        {
            return Lang_LanguageBLL.LanguageByManage(module, key, defaultValue);
        }

        protected override void OnInit(EventArgs e)
        {
            Utility.AuthRequest();
        }        
        
    }
}